<html>
<body>
Reports comparisons with <code>String.indexOf()</code> calls
that can be replaced with a call to the <code>String.contains()</code> method.
<p><b>Example:</b></p>
<pre><code>
  <b>boolean</b> b = "abcd".indexOf('e') >= 0;
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  <b>boolean</b> b = "abcd".contains('e');
</code></pre>
<!-- tooltip end -->
<p>This inspection only reports if the language level of the project or module is 5 or higher.</p>

</body>
</html>